﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Miracinera.Globals
{
    class ERR
    {
        public static string RoomTypeError = "The type of room could not be found!";
        public static string IncRoomWidthHeightError = "The {1} position for the room is bigger\r\nthan the number of columns on the Map!";
        public static string IncRoomWidthError = "The Y position for the";

        public string ErrorText { get; set; }

        public ERR(string error)
        {
            this.ErrorText = error;
            this.Show();
        }

        public void Show()
        {
            System.Windows.Forms.MessageBox.Show(this.ToString());
        }

        public override string ToString()
        {
            return this.ErrorText;
        }
    }
}
